<?xml version="1.0" encoding="UTF-8"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:jsf="http://xmlns.jcp.org/jsf"
	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:h="http://xmlns.jcp.org/jsf/html"
	template="/WEB-INF/templates/template.xhtml"
	xmlns:p="http://primefaces.org/ui">
	<ui:define name="content">

	<h:form>
    <p:growl id="msgs" showDetail="true" />
 	<div align="center">
	    <p:panel id="basic" header="Excluir Livros" style="margin-bottom:20px; width:500px;">
	        <h:panelGrid columns="2" cellpadding="10">
	            <h:outputText value="ID:" />
	            <p:inputText value="#{livroBean.id}" />
	        </h:panelGrid>
	        <p:commandButton value="Excluir" action="#{livroBean.excluirLivro}" update="msgs"/>
	    </p:panel>
    </div>
    </h:form>

	</ui:define>
</ui:composition>
